package com.example.learn_mybatis.service;

import com.example.learn_mybatis.pojo.Pager;
import com.example.learn_mybatis.pojo.PermissionParam;
import com.example.learn_mybatis.pojo.RolePermissions;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author chen
 * @since 2025-07-11
 */
public interface IRolePermissionsService extends IService<RolePermissions> {

    Pager getRolePermissionById(Integer id, Integer size, Integer page);

    boolean batchSavePermissions(PermissionParam permissionParam);

    void batchRemovePermission(PermissionParam permissionParam);
}
